
	/* 通用样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul {
	list-style: none;
}

/* 全局变量和公共样式 */
.w {
	width: var(--w);
	margin: 0 auto;
}

.tongan {
	min-width: var(--w);
}

:root {
	--w: 1230px;
	--primary-color: #666;
	--secondary-color: #80c2cc;
	--accent-color: #ff6700;
	--light-gray: #f5f5f5;
	--medium-gray: #e0e0e0;
	--dark-gray: #333;
	--font-family: 'Open Sans', sans-serif;
}

html {
	scroll-behavior: smooth;
	font-family: var(--font-family);
}

/* 清除浮动 */
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* 头部样式 */
.top-bar {
	height: 40px;
	background: linear-gradient(to bottom, var(--primary-color), #555);
	display: flex;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.top-nav-wrapper {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 导航条左边 */
.top-nav-left {
	height: 100%;
	margin: 0 20px;
	float: left;
}

.top-nav-left>ul {
	height: 100%;
	display: flex;
}

.top-nav-left>ul>li {
	display: inline-block;
	margin-right: 20px;
}

.top-nav-left a {
	line-height: 40px;
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 12px;
	margin: 0 10px;
	transition: color 0.3s ease;
	font-weight: 600;
}

.top-nav-left a:hover {
	color: var(--accent-color);
}

/* 导航条右边 */
.top-nav-right {
	height: 100%;
	float: right;
	margin: 0 20px;
}

.top-nav-right>ul {
	height: 100%;
	display: flex;
	align-items: center;
}

.top-nav-right>ul>li {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	margin-left: 20px;
	color: var(--secondary-color);
}

.top-nav-right a {
	line-height: 40px;
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 12px;
	transition: color 0.3s ease;
	font-weight: 600;
}

.top-nav-right a:hover {
	color: var(--accent-color);
}

.top-nav-right>ul>span {
	display: inline-block;
	height: 20px;
	border-left: 1px solid var(--dark-gray);
	margin: 0 10px;
	vertical-align: middle;
}

.right-img {
	width: 180px;
	position: absolute;
	border: 1px solid var(--medium-gray);
	top: 100%;
	left: -50%;
	display: none;
	box-sizing: border-box;
	background-color: #fff;
	text-align: center;
	z-index: 99;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.top-nav-right img {
	width: 80%;
	height: auto;
	margin-top: 10px;
}

.top-nav-right p {
	font-size: 12px;
	line-height: 160%;
	margin-top: 5px;
}

.top-nav-right>ul>li:hover div {
	display: block;
	opacity: 1;
}

.lists-title {
	position: relative;
}

.lists-title:hover div {
	display: block;
}

div.lists-wrapper {
	position: absolute;
	top: 100%;
	right: -10%;
	width: 300px;
	background-color: #fff;
	z-index: 10000;
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.lists-wrapper img {
	width: 30%;
	height: auto;
	float: left;
	margin-right: 10px;
}

.lists-wrapper>div>span {
	overflow: hidden;
	text-align: left;
	display: block;
	margin-bottom: 30px;
	color: var(--dark-gray);
}

ul.lists {
	z-index: 10000000;
	text-align: center;
	padding: 0;
}

ul.lists>li {
	font-size: 0;
}

ul.lists>li>span {
	display: inline-block;
	border: none;
	vertical-align: top;
	margin-left: 20px;
	margin-top: 20px;
	font-size: 14px;
	color: var(--dark-gray);
}

ul.lists>li>a {
	display: block;
	color: var(--dark-gray);
	width: 100%;
	height: 100%;
	transition: background-color 0.3s ease;
}

ul.lists>li:hover {
	background-color: var(--medium-gray);
}

/*  */
.nav-bar {
	height: 80px;
	background-color: #fff;
	position: relative;
	box-sizing: border-box;
	padding: 20px 0;
	margin-top: 40px;
}

/* logo */
.nav-logo {
	width: auto;
	height: 100%;
	float: left;
}

.nav-logo img {
	height: 50px;
	width: 116px;
	background-size: auto 50px;
	margin-left: 20px;
}

/* 搜索框 */
.search {
	float: right;
	margin-top: 10px;
}

.search>input {
	height: 20px;
	width: 150px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	padding: 0 5px;
}

/* 一级菜单 */
.menu-wrapper-left {
	float: left;
	height: 50px;
}

.menu-wrapper-left>ul {
	height: 100%;
	box-sizing: border-box;
	margin-left: 20px;
}

.menu-wrapper-left>ul>li {
	display: inline-block;
	padding: 10px 0;
	text-align: center;
}

.menu-wrapper-left>ul>li:hover {
	border-bottom: 5px solid var(--accent-color);
	color: var(--accent-color);
}

.menu-wrapper-left>ul>li>a:hover {
	color: var(--accent-color);
}

.menu-wrapper-left a {
	display: block;
	margin: 0 10px;
	font-size: 14px;
	text-decoration: none;
	color: var(--dark-gray);
}

.menu-wrapper-left div {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	height: 0;
	overflow: hidden;
	background-color: #fff;
	transition: height 0.4s ease;
	z-index: 11111111111;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 二级菜单 */
ul.menu-main {
	font-size: 0;
	height: 0;
	box-sizing: border-box;
}

ul.menu-main>li {
	width: calc(100% / 5);
	box-sizing: border-box;
	display: inline-block;
}

ul.menu-main>li>a>p {
	font-size: 10px;
	color: var(--dark-gray);
}

ul.menu-main>li>a>img {
	height: auto;
	width: 50%;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-wrapper-left>ul>li:hover>div {
	height: 170px;
	border: 1px solid var(--medium-gray);
	border-top: none;
	z-index: 111111;
}

.menu-wrapper-right {
	float: right;
	height: 50px;
	margin-right: 10px;
}

.menu-wrapper-right>ul {
	height: 100%;
	box-sizing: border-box;
	margin-left: 20px;
}

.menu-wrapper-right>ul>li {
	display: inline-block;
	padding: 10px 0;
	text-align: center;
}

.menu-wrapper-right>ul>li:hover {
	color: var(--accent-color);
}

.menu-wrapper-right>ul>li>a:hover {
	color: var(--accent-color);
}

.menu-wrapper-right a {
	display: block;
	margin: 0 10px;
	font-size: 14px;
	text-decoration: none;
	color: var(--dark-gray);
}

.menu-wrapper-right>ul::before {
	content: "";
	height: 100%;
	border: 1px solid var(--medium-gray);
	margin-right: 5px;
}

.list-title-wrapper {
	background-color: var(--light-gray);
	height: 40px;
}

.list-title {
	line-height: 40px;
	font-size: 14px;
}

.list-title a {
	color: var(--dark-gray);
	text-decoration: none;
	transition: color 0.3s ease;
}

.list-title a:hover {
	color: var(--accent-color);
}

.list-left {
	float: left;
	width: 20%;
	background-color: var(--light-gray);
	margin-right: 20px;
}

ul.list {
	width: 100%;
	text-align: center;
	margin: 30px 0;
}

ul.list h3 {
	margin-bottom: 40px;
	color: var(--dark-gray);
}

ul.list li {
	margin: 15px 0;
}

ul.list a {
	text-decoration: none;
	color: var(--dark-gray);
	transition: color 0.3s ease;
}

ul.list>li.show>a {
	color: var(--accent-color);
}

ul.list a:hover {
	color: var(--accent-color);
}

.list-center {
	overflow: hidden;
	position: relative;
	background-color: #fff;
	margin-top: 40px;
	border: 1px solid var(--medium-gray);
	padding: 0 20px;
	height: 1200px;
}

.list-center h3 {
	font-size: 24px;
	margin: 20px 0;
	color: var(--dark-gray);
}

form {
	position: absolute;
	margin-left: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	padding: 20px;
}

.dialog {
	width: 600px;
	padding: 40px;
	border: 1px solid var(--medium-gray);
	display: none;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input {
	display: block;
	width: 100%;
	height: 20px;
	margin-bottom: 20px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	padding: 0 5px;
}

select {
	min-width: 60px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
}

.dialog button {
	width: 200px;
	height: 80px;
	margin-left: 10px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.dialog button:hover {
	background-color: var(--accent-color);
	color: #fff;
}

form>div.active {
	display: block;
}

.btn-add {
	width: 32%;
	height: 140px;
	vertical-align: top;
	float: left;
	margin-left: 10px;
	border: none;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: box-shadow 0.3s ease;
}

.btn-add:hover {
	box-shadow: 4px 4px 2px -4px var(--dark-gray);
}

.list-center>div {
	font-size: 0;
}

.list-center>div>div {
	display: inline-block;
	width: 32%;
	padding: 10px;
	vertical-align: top;
	margin-left: 10px;
	box-sizing: border-box;
	border: 1px solid var(--medium-gray);
	margin-bottom: 10px;
	border-radius: 4px;
	transition: box-shadow 0.3s ease;
}

.list-center>div>div:hover {
	box-shadow: 4px 4px 2px -4px var(--dark-gray);
}

.list-center h5 {
	display: inline-block;
	text-align: left;
	font-size: 16px;
	color: var(--dark-gray);
}

.list-center span {
	display: inline-block;
	font-size: 16px;
	text-align: right;
	margin-left: 20px;
	color: var(--dark-gray);
}

.list-center p {
	display: block;
	font-size: 18px;
	color: var(--dark-gray);
}

.btn-update {
	width: 60px;
	height: 40px;
	margin-left: 120px;
	border: none;
	margin-top: 10px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-update:hover {
	background-color: var(--accent-color);
	color: #fff;
}

.btn-delete {
	width: 60px;
	height: 40px;
	margin-left: 10px;
	border: none;
	margin-top: 10px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}


	.bottom-wrapper {
		margin-top: 30px;
		background-color: var(--light-gray);
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 20px;
		padding: 30px 0;
		border-top: 1px solid var(--medium-gray);
	}

	.bottom {
		display: inline-block;
		margin-right: 60px;
		vertical-align: text-top;
		margin-top: 0;
		text-align: center;
		width: auto;
	}

	.bottom>div {
		display: inline-block;
		margin: 40px 0;
	}

	.bottom span {
		display: block;
		color: var(--dark-gray);
		font-size: 12px;
	}

	.bottom>div>a>img {
		width: 100%;
		height: auto;
		border-radius: 4px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}

	.ricker {
		width: 20px;
		height: 100px;
		position: fixed;
		bottom: 10px;
		right: 10px;
	}

	.ricker>a {
		color: var(--dark-gray);
		text-decoration: none;
		transition: color 0.3s ease;
	}

	.ricker>a:hover {
		color: var(--accent-color);
	}

	.footer {
		margin-top: 10px;
		background-color: var(--medium-gray);
		padding: 10px 0;
		text-align: center;
	}

	.footer>div>img {
		width: 58px;
		height: auto;
		vertical-align: top;
		border-radius: 4px;
	}

	p {
		display: inline-block;
		font-size: 12px;
		vertical-align: top;
		color: var(--dark-gray);
		margin-left: 10px;
	}
